<template>
  <div id="map">
    <input type="text" :placeholder="text" class="intput" @blur="code" />
  </div>
</template>

<script>
export default {
  props: ["text"],
  methods:{
    code(){
      this.$emit("codeset")
    }
  }
};
</script>
<style scoped>
#map {
  width: 100%;
}
input {
  width: 97%;
  height: 35px;
  padding-left: 3%;
  float: left;
  margin-bottom: 15px;
}

</style>
    
